package com.youlai.boot.modules.tp.dto.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 头部实时信息响应VO
 * 
 * @author xiheforever
 * @since 2025-06-04
 */
@Schema(description = "头部实时信息")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class DashboardHeaderInfoVO {

    @Schema(description = "当前在线用户数")
    private Integer onlineUsers;

    @Schema(description = "在线用户增长率(%)")
    private BigDecimal onlineGrowth;

    @Schema(description = "销售进度百分比")
    private BigDecimal salesProgress;

    @Schema(description = "店铺数量")
    private Integer storeCount;

    @Schema(description = "店铺状态", allowableValues = {"open", "closed", "maintenance"})
    private String storeStatus;

    @Schema(description = "最后更新时间")
    private String lastUpdateTime;
} 